import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store/index.js'

//  引入vantUI组件 应在公共样式之前引用 防止覆盖公共样式表
import Vant from 'vant'
import 'vant/lib/index.css'

//  引入自定义公共样式表
import './styles/index.less'

//  动态设置rem加载
import 'amfe-flexible'

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
